package game.square;


import static org.junit.Assert.*;

import org.junit.Before;
import org.junit.Test;

public class WallTest {

	private Wall nonSlipperyWall;
	@Before
	public void setUp() throws Exception {
		nonSlipperyWall = new Wall(false);
	}
	
	@Test
	public final void constructor_SingleCase(){
		Wall wall = new Wall(false);
		assertFalse(wall.isSlippery());
		assertTrue(wall.isCreated());
		
	}
	
	@Test
	public final void getNewEqualBorder(){
		Wall equalBorder = nonSlipperyWall.getNewEqualBorder();
		assertTrue(equalBorder.isCreated());
		assertFalse(equalBorder.isSlippery());
	}

}
